package com.konsung.bean;


/**
 * @author xiangshicheng
 * 筛选条件类
 */
public class QueryItem {

    private int upload = 0; //是否上传
    private int sex = -1; //性别
    private String name = ""; //姓名
    private String measureStart = ""; //测量数据的开始时间
    private String measureEnd = ""; //测量数据的结束时间
    private boolean isQuery = true; //区分查询和筛选按钮 默认查询点击

    /**
     * 获取是否上传条件
     * @return 条件标识
     */
    public int getUpload() {
        return upload;
    }

    /**
     * 设置是否上传条件
     * @param upload 条件标识
     */
    public void setUpload(int upload) {
        this.upload = upload;
    }

    /**
     * 获取sex的值
     *
     * @return sex sex值
     */
    public int getSex() {
        return sex;
    }

    /**
     * 设置sex的值
     *
     * @param sex sex值
     */
    public void setSex(int sex) {
        this.sex = sex;
    }

    /**
     * 获取name的值
     *
     * @return name name值
     */
    public String getName() {
        return name;
    }

    /**
     * 设置name的值
     *
     * @param name name值
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取measureStart的值
     *
     * @return measureStart measureStart值
     */
    public String getMeasureStart() {
        return measureStart;
    }

    /**
     * 设置measureStart的值
     *
     * @param measureStart measureStart值
     */
    public void setMeasureStart(String measureStart) {
        this.measureStart = measureStart;
    }

    /**
     * 获取measureEnd的值
     *
     * @return measureEnd measureEnd值
     */
    public String getMeasureEnd() {
        return measureEnd;
    }

    /**
     * 设置measureEnd的值
     *
     * @param measureEnd measureEnd值
     */
    public void setMeasureEnd(String measureEnd) {
        this.measureEnd = measureEnd;
    }

    /**
     * 获取是否是查询按钮点击
     * @return 是否点击查询按钮
     */
    public boolean isQuery() {
        return isQuery;
    }

    /**
     * @param query 是否点击查询按钮
     */
    public void setQuery(boolean query) {
        isQuery = query;
    }
}
